package com.mediacloud.app.newsmodule.fragment.recommend;

import com.mediacloud.app.assembly.util.DateParse;
import com.mediacloud.app.model.news.ProgramListItem;
import com.mediacloud.app.newsmodule.fragment.baoliao.model.DramaDetailResponse;
import com.mediacloud.app.newsmodule.fragment.baoliao.model.add.BaseBeen;

import java.io.Serializable;
import java.util.Date;
import java.util.List;
import java.util.Map;

public class ProgramNew extends BaseBeen {
    /**
     * "sourceId": 163,
     * 			"shield": 0,
     * 			"week": "星期一",
     * 			"addTime": "2022-05-09 15:12:12",
     * 			"addUser": "15308320018",
     * 			"relaId": null,
     * 			"type": null,
     * 			"endDateTime": "2022-05-09 10:50:00",
     * 			"url": null,
     * 			"programlength": null,
     * 			"modifyUser": null,
     * 			"relaName": null,
     * 			"modifyTime": null,
     * 			"startDateTime": "2022-05-09 10:30:00",
     * 			"sourceType": 1,
     * 			"name": "精彩节目",
     * 			"comment": null,
     * 			"id": 12882,
     * 			"sourceName": "测试",
     * 			"state": 0,
     * 			"time": "10:30:00",
     * 			"day": "2022-05-09"
     */
    public Map<String,List<ProgramListItem>> data;

    public static class DataBean implements Serializable {
        public long sourceId;
        public int shield;//是否屏蔽
        public String week;
        public String addTime;
        public String addUser;
        public String startDateTime;
        public String endDateTime;
        public String placeholder;
        public String name;
        public long id;
        public String day;
        public String sourceName;
        protected int appointmentId;

        public boolean isSelected() {
            return selected;
        }

        public void setSelected(boolean selected) {
            this.selected = selected;
        }

        public boolean selected = false;
        public boolean isAppointment() {
            return isAppointment;
        }

        public void setAppointment(boolean appointment) {
            isAppointment = appointment;
        }

        protected boolean isAppointment;

        public int getAppointmentId() {
            return appointmentId;
        }

        public void setAppointmentId(int appointmentId) {
            this.appointmentId = appointmentId;
        }

    }

}
